<?php

class Garden_Validator {
    public $is_success = null;
    public $is_error   = null;
    private $param = null;
    private $rules = null;

    function __construct ($param, $rules) {
        $this->param = $param;
        $this->rules = $rules;
    }

    function check () {
        foreach ($this->rules as $rule) {
        }
    }
}
